<template>
    <div>
        <input type="text" class="l-text" name="id_card" id="id_card" placeholder="请填写您的身份证号" data-val-func="validateIdCard" data-val-length="身份证号最多允许输入18个字" data-val-length-max="18" data-val-regex-require="请输入正确的身份证号" data-val-regex-pattern="^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$" data-val-remote="身份证号错误或已经存在" data-val-required="请输入身份证号">
    </div>
</template>

<script>
export default {
    name: `FormInput`,
    data() {
        return {
            picbg: `./static/img/picbg.png`
        }
    }
}
</script>

<style scoped>

</style>